package com.itwlj.vo;

import com.itwlj.entity.Comment;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GoodsDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    //分类id
    private Long categoryId;

    //分类名称
    private String categoryName;

    //子分类id
    private Long subCategory;

    //子分类名称
    private String subCategoryName;

    //商品id
    private Long id;

    //商品名称
    private String name;

    //子分类id
    private Long subCategoryId;

    //描述
    private String desc;

    //价格
    private BigDecimal price;

    //原价
    private BigDecimal oldPrice;

    //品牌
    private String brand;

    //图片
    private String picture;

    //商品主图集合
    private List<String> mainPictures;

    //评分
    private Integer rating;

    //销量
    private Long salesCount;

    //评论数量
    private Long commentCount;

    //规格
    private List<SpecVO> specList;

    //sku
    private List<SkuVO> skuList;

    //评论
    List<Comment> commentList;
}
